package cn.itsource.blog.service;



import cn.itsource.blog.domain.Param;
import cn.itsource.blog.query.ParamQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface IParamService {
    void add(Param param);
    void update(Param param);
    void delete(Long id);
    Param getOne(Long id);
    List<Param> getAll();

    void patchDelete(Long[] ids);

    PageInfo<Param> pageQuery(ParamQuery query);

    Map<String, Object> getParams();
}
